package assembly.spring.boot.demo.entity.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

// Auto generate by mybatis-flex, do not modify it.
public class UserEntityDef extends TableDef {

    public static final UserEntityDef USER_ENTITY = new UserEntityDef();

    /**
     * ID
     */
    public final QueryColumn ID = new QueryColumn(this, "id");

    /**
     * 名称
     */
    public final QueryColumn NAME = new QueryColumn(this, "name");

    /**
     * 邮箱
     */
    public final QueryColumn EMAIL = new QueryColumn(this, "email");

    /**
     * 手机号
     */
    public final QueryColumn PHONE = new QueryColumn(this, "phone");

    /**
     * 状态 0：删除 1：正常
     */
    public final QueryColumn ACTIVE = new QueryColumn(this, "active");

    /**
     * 密码
     */
    public final QueryColumn PASSWORD = new QueryColumn(this, "password");

    public final QueryColumn CREATOR_ID = new QueryColumn(this, "creator_id");

    public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");

    public final QueryColumn MODIFIER_ID = new QueryColumn(this, "modifier_id");

    public final QueryColumn MODIFY_TIME = new QueryColumn(this, "modify_time");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段，不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, NAME, EMAIL, PHONE, PASSWORD, CREATOR_ID, CREATE_TIME, MODIFIER_ID, MODIFY_TIME};

    public UserEntityDef() {
        super("", "pl_u_user");
    }

}
